package com.ktwlsoft.archivemanage.domain.dao.repository.register;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;
import com.ktwlsoft.archivemanage.domain.dao.entity.register.AccountRegister;

/**
 * account_register--账号注册
 *
 * @author zhuhe on 2020-07-09 10:41:39
 * @version 1.0
 */
@Mapper
public interface IAccountRegisterMapper {
	
	/**
	 * 查询列表 on 2020-07-09 10:41:39
	 * @param accountRegister accountRegister
	 * @return List<AccountRegister>
	 */
	List<AccountRegister> findList(AccountRegister accountRegister);

	/**
	 * 根据id查询信息 on 2020-07-09 10:41:39
	 * @param id id
	 * @return AccountRegister
	 */
	AccountRegister getById(Long id);

	/**
	 * 根据id删除信息 on 2020-07-09 10:41:39
	 * @param id id
	 * @return int
	 */
	int deleteById(Long id);
	
	/**
	 * 根据id集合批量删除信息 on 2020-07-09 10:41:39
	 * @param ids ids
	 * @return int
	 */
	int deleteByIds(List<Long> ids);

	/**
	 * 插入 on 2020-07-09 10:41:39
	 * @param accountRegister accountRegister
	 * @return int
	 */
    int insert(AccountRegister accountRegister);

	/**
	 * 批量插入 2020-07-09 10:41:39
	 *
	 * @param list list
	 * @return int
	 */
	int manyInsert(List<AccountRegister> list);

	/**
	 * 更新 on 2020-07-09 10:41:39
	 * @param accountRegister accountRegister
	 * @return int
	 */
    int update(AccountRegister accountRegister);

	/**
	 * 审核分页 on 2020-07-09 10:41:39
	 * @param jsonObject jsonObject
	 * @return List<AccountRegister>
	 */
	List<AccountRegister> examinePage(JSONObject jsonObject);
}
